package ua.kharkov.khpi.tarasenko.bach.web.command.user;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import ua.kharkov.khpi.tarasenko.bach.core.Constant;
import ua.kharkov.khpi.tarasenko.bach.web.command.Command;

/**
 * Command to show shopping cart.
 * 
 * @author oleksandr
 *
 */
public class ShowShoppingCartCommand extends Command {
	private static final Logger log = Logger
			.getLogger(ShowShoppingCartCommand.class);

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		
		String forward = Constant.PAGE_SHOPPING_CART;
		
		if (log.isTraceEnabled()) {
			log.trace("Forward to " + forward);
		}
		return forward;

	}

}
